package com.edu.bean;

public class Book {
    private int bookId;

    private String bookNum;

    private String bookName;

    private String bookWriter;

    private double bookPrice;

    private int bookIn;

    private String bookType;

    public int getBookId() {
        return bookId;
    }

    public void setBookId(int bookId) {
        this.bookId = bookId;
    }

    public String getBookNum() {
        return bookNum;
    }

    public void setBookNum(String bookNum) {
        this.bookNum = bookNum;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public String getBookWriter() {
        return bookWriter;
    }

    public void setBookWriter(String bookWriter) {
        this.bookWriter = bookWriter;
    }

    public double getBookPrice() {
        return bookPrice;
    }

    public void setBookPrice(double bookPrice) {
        this.bookPrice = bookPrice;
    }

    public int getBookIn() {
        return bookIn;
    }

    public void setBookIn(int bookIn) {
        this.bookIn = bookIn;
    }

    public String getBookType() {
        return bookType;
    }

    public void setBookType(String bookType) {
        this.bookType = bookType;
    }

    public Book() {
    }

    public Book(int bookId, String bookNum, String bookName, String bookWriter, double bookPrice, int bookIn, String bookType) {
        this.bookId = bookId;
        this.bookNum = bookNum;
        this.bookName = bookName;
        this.bookWriter = bookWriter;
        this.bookPrice = bookPrice;
        this.bookIn = bookIn;
        this.bookType = bookType;
    }

    @Override
    public String toString() {
        return "Book{" +
                "bookId=" + bookId +
                ", bookNum='" + bookNum + '\'' +
                ", bookName='" + bookName + '\'' +
                ", bookWriter='" + bookWriter + '\'' +
                ", bookPrice=" + bookPrice +
                ", bookIn=" + bookIn +
                ", bookType='" + bookType + '\'' +
                '}';
    }
}
